package org.tlipoca.smarticletagrelational.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.genntii.smdomain.dto.ArticleTagRelationalDTO;
import org.genntii.smdomain.entity.ArticleTagRelational;

import java.util.ArrayList;
import java.util.Map;

public interface ArticleTagRelationalService extends IService<ArticleTagRelational> {
    ArrayList<ArticleTagRelational> getArticleTagRelationalByArticleIdService(Long articleId);

    void addArticleTagRelationalService(ArticleTagRelationalDTO articleTagRelationalDTO);

    void updateArticleTagRelationalService(ArticleTagRelationalDTO articleTagRelationalDTO);

    void deleteArticleTagRelationalService(ArticleTagRelationalDTO articleTagRelationalDTO);

    void deleteArticleTagRelationalBatch(Long articleId);

    Map<String , ArrayList<Long>> getTagIdsByArticleIds(ArrayList<Long> articleIds);
}
